public class Test {
    public static void main(String[] args) {
        int nums = 1;
        int day = 10;
        for (int i = 0; i < 9; i++) {
            System.out.println("第" + (day-i ) + "天有桃子" + nums + "个");
            nums++;
            nums *= 2;
        }
        System.out.println("第1天有桃子" + nums + "个");
    }
}
